<template>
	<view class="item">
		<image :src="item.img" mode=""></image>
		<text class="desc">{{item.desc}}</text>
		<text>{{item.name}}</text>
		
	</view>
</template>

<script>
	export default {
		props:{item:Object},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.item{
		// width: 48%;
		.desc{
			display: inline-block;
			width: 100%;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		image{
			width: 100%;
			height: 400rpx;
		}
	}

</style>
